package com.punch.common.vo.user.role;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * RoleVO-角色返回信息
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/7/23 13:38
 */
@Data
@ApiModel(value = "角色返回信息")
public class RoleVO implements Serializable {

    @ApiModelProperty(name = "roleId", notes = "角色id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roleId;

    private String code;
    private String name;
}
